package com.tsll.dao;

import com.tsll.entity.Book;
import com.tsll.entity.VerifyBook;
import com.tsll.vo.VerifyBookVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Tian
* @description 针对表【verifybook】的数据库操作Mapper
* @createDate 2024-03-27 16:13:31
* @Entity com.tsll.entity.Verifybook
*/
public interface VerifyBookMapper {

    int deleteByPrimaryKey(Long id);

    int insert(VerifyBook record);

    int insertSelective(VerifyBook record);

    List<VerifyBook> selectByVerifyApplicationId(Integer verifyApplicationId);

    int updateByPrimaryKeySelective(VerifyBook record);

    int updateByPrimaryKey(VerifyBook record);

    int batchAdd(@Param("verifyBookVos") List<VerifyBookVo> verifyBookVos,@Param("id")Integer id);

    //查询损坏图书
    List<Book> searchAll();


    int updateRepairCount(VerifyBookVo verifyBookVo);

    int updateClearCount(VerifyBookVo verifyBookVo);


}
